how to do left on and right on merge with pandas

welcome to shbcf.ru